package com.niiwoo.civet.trade.dao.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Date;

public class ProjectPushRecord {
    private Long id;

    private String projectNo;

    private Byte status;

    private String errorCode;

    private String errorStatus;

    private Byte callNum;

    private Date auditedTime;

    private Long auditManagerId;

    private String auditManagerName;

    private Byte pushFrom;

    private Date createTime;

    private Date updateTime;

    private String errorMsg;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProjectNo() {
        return projectNo;
    }

    public void setProjectNo(String projectNo) {
        this.projectNo = projectNo;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorStatus() {
        return errorStatus;
    }

    public void setErrorStatus(String errorStatus) {
        this.errorStatus = errorStatus;
    }

    public Byte getCallNum() {
        return callNum;
    }

    public void setCallNum(Byte callNum) {
        this.callNum = callNum;
    }

    public Date getAuditedTime() {
        return auditedTime;
    }

    public void setAuditedTime(Date auditedTime) {
        this.auditedTime = auditedTime;
    }

    public Long getAuditManagerId() {
        return auditManagerId;
    }

    public void setAuditManagerId(Long auditManagerId) {
        this.auditManagerId = auditManagerId;
    }

    public String getAuditManagerName() {
        return auditManagerName;
    }

    public void setAuditManagerName(String auditManagerName) {
        this.auditManagerName = auditManagerName;
    }

    public Byte getPushFrom() {
        return pushFrom;
    }

    public void setPushFrom(Byte pushFrom) {
        this.pushFrom = pushFrom;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    @Getter
    @AllArgsConstructor
    public enum StatusEnum{
        INIT((byte)0,"初始化"),
        SUCCESS((byte)1,"成功"),
        FAIL((byte)2,"失败");

        private Byte status;
        private String desc;
    }
}